import styled from 'styled-components';

export const ScrollViewWrapper = styled.div`
  position: relative;
  .scroll-content {
    overflow: hidden;

    .scroll {
      display: flex;
      position: relative;
      transition: transform 250ms ease;
    }
  }

  .left,
  .right {
    width: 30px;
    height: 30px;
    border: 1px solid #ccc;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 0 5px #eee;
    background-color: #fff;

    position: absolute;
    top: 50%;
    transform: translate(0, -50%);

    z-index: 9;
  }
  .left {
    left: -15px;
  }
  .right {
    right: -15px;
  }
`;
